package com.dropdb.demo.service;

import com.dropdb.demo.bean.vo.WxGoodsDetailVO;
import com.dropdb.demo.bean.vo.WxHomeIndexVO;

import java.util.Map;

/**
 * @author Alone
 * @version 1.0
 * @date 2020/6/30 15:05
 */
public interface WxHomeAndGoodsService {
    Integer countTotalGoods();

    WxHomeIndexVO queryHomePage();

    Map<String, Object> goodsCategory(Integer id);

    Map<String, Object> goodsRelated(Integer id);

    WxGoodsDetailVO goodsDetail(Integer id);

    Map<String, Map<String, Integer>> userIndex();

    Map<String, Object> goodsList(Integer categoryId, Integer page, Integer size, String sort, String order, String keyword,Integer brandId,Boolean isHot,Boolean isNew);

    Map<String, Object> queryUser(String username);
}
